projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6e8ae7
)
* lib-src/make-docfile.c (search_lisp_doc_at_eol): Use int rather than char
author
Glenn Morris
<rgm@gnu.org>
Thu, 10 Oct 2013 01:29:30 +0000
(21:29 -0400)
committer
Glenn Morris
<rgm@gnu.org>
Thu, 10 Oct 2013 01:29:30 +0000
(21:29 -0400)
with getc.
Fixes: debbugs:15481
lib-src/ChangeLog
patch
|
blob
|
history
lib-src/make-docfile.c
patch
|
blob
|
history
diff --git
a/lib-src/ChangeLog
b/lib-src/ChangeLog
index 1186a0c025cb30d789e64a6eb4adde2785bc1a46..0b91cc4887f71d29e97bd62b1e8fe4779e696e08 100644
(file)
--- a/
lib-src/ChangeLog
+++ b/
lib-src/ChangeLog
@@
-1,3
+1,8
@@
+2013-10-10 Glenn Morris <rgm@gnu.org>
+
+ * make-docfile.c (search_lisp_doc_at_eol):
+ Use int rather than char with getc. (Bug#15481)
+
2013-09-20 Paul Eggert <eggert@cs.ucla.edu>
A simpler, centralized INLINE.
diff --git
a/lib-src/make-docfile.c
b/lib-src/make-docfile.c
index 73d1a0eb31d3b78360d2c93062c83fbfffd9d725..36eb71c587ba5a6c1f5b6d401d17621889885342 100644
(file)
--- a/
lib-src/make-docfile.c
+++ b/
lib-src/make-docfile.c
@@
-1075,7
+1075,7
@@
read_lisp_symbol (FILE *infile, char *buffer)
static int
search_lisp_doc_at_eol (FILE *infile)
{
-
char
c = 0, c1 = 0, c2 = 0;
+
int
c = 0, c1 = 0, c2 = 0;
/* Skip until the end of line; remember two previous chars. */
while (c != '\n' && c != '\r' && c != EOF)